import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect: '/role',
    },
    {
      path: '/ListTest',
      name: 'ListTest',
      component: resolve => require(['@/components/ListTest'], resolve),
    },
    {
      path: '/role',
      name: 'role',
      component: resolve => require(['@/components/Role'], resolve),
    }
  ]
})
